using MouthAnimationFrame;
using UnityEngine;
using UnityEngine.Playables;

public class CarEntityControlBehaviour : PlayableBehaviour
{
    private bool m_isLight;
    public void SetCarLightMode(bool isLight)
    {
        m_isLight = isLight;
    }

    public override void OnBehaviourPlay(Playable playable, FrameData info)
    {
        base.OnBehaviourPlay(playable, info);
        CarEntityController.Instance.EnableCarLight(m_isLight);
    }
}
